<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>员工分组</title>
		<script type="text/javascript" src="${ctx }/scripts/plugins/date/timer.js"></script>
		<script type="text/javascript" src="${ctx }/scripts/rollbook/userinfo/userinfo.js"></script>
		<script type="text/javascript">
	        $(function () {
	        	searchGroupUser("${currentDept.id}");
	        });
    	</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_3">
				<jsp:include page="/common/menu_2.jsp"/>
			</div>
			<div class="grid_13 omega">
				<div class="content_top">
					<div class="left">
						<img src="${ctx }/images/group_black.png" />
					</div>
					<div class="right">
						<h7>${currentRole.roleType.id eq 4 ? "企业" : "个人" }设置 > 员工分组<h7/>
					</div>
					<div id="divTime" class="time">
				        <label id="lblDate"></label>
				        <label id="lblTime"></label>
				     </div>
				</div>
				<div class="content_bottom">
					<div class="reg_middle reg">
						<table cellpadding="0" cellspacing="0" style="width: 700px;">
							<tr>
								<td style="width: 100px;">
									<label class="btn"><input id="addGroup" name="addGroup" type="button" value="添加分组" onclick="searchGroup()" /></label>			
								</td>
								<td>
									<div id="groupList" style="margin-top: 26px;margin-left: 10px;color: #1465B7;">
										<jsp:include page="groupList.jsp"></jsp:include>
									</div>
								</td>
							</tr>
						</table>
						<div id="userList" style="text-align: center;">
                			<img alt="" src="${ctx }/images/loading.gif">
						</div>
						<p></p>	
						<p></p>
					</div>	
				</div>
			</div>
		</div>
		<div class="container_16" style="margin-top: 50px;">
			<p></p>
		</div>
	</body>
</html>